package com.loop.extendsDemo;

public class Animal {
    public void eat(){
        int i =1;
        System.out.println("eat"+i);
    }

    public Animal() {
        System.out.println("Animal cons");
    }

    public void sleep(){
        System.out.println("sleep");
    }
}
